package com.ruoyi.homepage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 tb_banner
 * 
 * @author ruoyi
 */
public class Carousel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** banner_id */
    private Long bannerId;
    /** banner_title */
    @Excel(name = "标题")
    private String bannerTitle;
    /** banner_image */
    @Excel(name = "图片")
    private String bannerImage;
    /** banner_url */
    @Excel(name = "链接")
    private String bannerUrl;
    /** target_type */
    private Integer targetType;
    /** target_id */
    private String targetId;
    /** position */
    private Integer position;
    /** sort_order */
    private Integer sortOrder;
    /** start_time */
    private java.util.Date startTime;

    public Long getBannerId() { return bannerId; }
    public void setBannerId(Long bannerId) { this.bannerId = bannerId; }
    public String getBannerTitle() { return bannerTitle; }
    public void setBannerTitle(String bannerTitle) { this.bannerTitle = bannerTitle; }
    public String getBannerImage() { return bannerImage; }
    public void setBannerImage(String bannerImage) { this.bannerImage = bannerImage; }
    public String getBannerUrl() { return bannerUrl; }
    public void setBannerUrl(String bannerUrl) { this.bannerUrl = bannerUrl; }
    public Integer getTargetType() { return targetType; }
    public void setTargetType(Integer targetType) { this.targetType = targetType; }
    public String getTargetId() { return targetId; }
    public void setTargetId(String targetId) { this.targetId = targetId; }
    public Integer getPosition() { return position; }
    public void setPosition(Integer position) { this.position = position; }
    public Integer getSortOrder() { return sortOrder; }
    public void setSortOrder(Integer sortOrder) { this.sortOrder = sortOrder; }
    public java.util.Date getStartTime() { return startTime; }
    public void setStartTime(java.util.Date startTime) { this.startTime = startTime; }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerTitle", getBannerTitle())
            .append("bannerImage", getBannerImage())
            .append("bannerUrl", getBannerUrl())
            .append("targetType", getTargetType())
            .append("targetId", getTargetId())
            .append("position", getPosition())
            .append("sortOrder", getSortOrder())
            .append("startTime", getStartTime())
            .toString();
    }
} 